/*include:viewJs\question*/
fastCSharp.LoadViewType(diantou.judge=function(Value)
	{
	fastCSharp.Copy(this,new diantou.judgeState(Value));
	this.Path={
		SubmitDetail:'/onlineJudge/submitDetail.html#!judgeId='+this.Id,
		CompileError:'/onlineJudge/judge/CompileError?judgeId='+this.Id
		};
	});
diantou.judge.Languages=[
	{Type:'C',ShowName:'C',Value:1,AceMode:'c_cpp',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'C11',ShowName:'C 11',Value:2,AceMode:'c_cpp',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'CPlus',ShowName:'C++',Value:11,AceMode:'c_cpp',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'CPlus11',ShowName:'C++ 11',Value:12,AceMode:'c_cpp',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'VCPlus',ShowName:'Visual C++',Value:111,AceMode:'c_cpp',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'CSharp',ShowName:'C#',Value:21,AceMode:'csharp',TimeBase:3,MemoryBase:3,QuestionPath:new diantou.question({Id:1179}).Path.Index},
	{Type:'Java',ShowName:'Java',Value:31,AceMode:'java',TimeBase:6,MemoryBase:4,QuestionPath:new diantou.question({Id:1180}).Path.Index},
	{Type:'Python2',ShowName:'Python2',Value:41,AceMode:'python',TimeBase:10,MemoryBase:4,QuestionPath:new diantou.question({Id:1182}).Path.Index},
	{Type:'Python3',ShowName:'Python3',Value:42,AceMode:'python',TimeBase:10,MemoryBase:4,QuestionPath:new diantou.question({Id:1182}).Path.Index},
	{Type:'PyPy2',ShowName:'PyPy2',Value:45,AceMode:'python',TimeBase:6,MemoryBase:4,QuestionPath:new diantou.question({Id:1182}).Path.Index},
	{Type:'PyPy3',ShowName:'PyPy3',Value:46,AceMode:'python',TimeBase:6,MemoryBase:4,QuestionPath:new diantou.question({Id:1182}).Path.Index},
	{Type:'Ruby',ShowName:'Ruby',Value:51,AceMode:'ruby',TimeBase:10,MemoryBase:4,QuestionPath:new diantou.question({Id:1183}).Path.Index},
	{Type:'Php',ShowName:'PHP',Value:61,AceMode:'php',TimeBase:9,MemoryBase:4,QuestionPath:new diantou.question({Id:1185}).Path.Index},
	{Type:'Haskell',ShowName:'Haskell',Value:71,AceMode:'haskell',TimeBase:5,MemoryBase:4,QuestionPath:new diantou.question({Id:1188}).Path.Index},
	{Type:'Scala',ShowName:'Scala',Value:81,AceMode:'scala',TimeBase:7,MemoryBase:4,QuestionPath:new diantou.question({Id:1187}).Path.Index},
	{Type:'Javascript',ShowName:'Javascript',Value:91,AceMode:'javascript',TimeBase:10,MemoryBase:4,QuestionPath:new diantou.question({Id:1184}).Path.Index},
	{Type:'Go',ShowName:'Go',AceMode:'golang',Value:101,TimeBase:4,MemoryBase:4,QuestionPath:new diantou.question({Id:1186}).Path.Index},
	{Type:'OC',ShowName:'Objective-C',Value:121,AceMode:'objectivec',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1178}).Path.Index},
	{Type:'Pascal',ShowName:'Pascal',Value:131,AceMode:'pascal',TimeBase:2,MemoryBase:2,QuestionPath:new diantou.question({Id:1362}).Path.Index}
	];
diantou.judge.GetLanguage=function(Type)
	{
	if(!this.LanguageTypes)	this.LanguageTypes=this.Languages.ToHash(function(Value){return Value.Type;});
	return this.LanguageTypes[Type];
	};

fastCSharp.LoadViewType(diantou.userJudge=function(Value)
	{
	fastCSharp.Copy(this,Value);
	});
diantou.userJudge.prototype={
GetValue:function()	{	return diantou.judge.Get(this.Id,1);	}
		};